# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
  include  AuthenticatedSystem

  def logged_in
    if logged_in?
      yield
    end
  end

  def feed_icon_tag(url, title = 'jobonrails')
    link_to(image_tag('feed-icon.png', :alt => "Subscribe to #{title}"[:subscribe], :class => 'rss_link'), url)
  end
end
